function remove(lid){
	$('#myModal').modal('show');
	$.post("../asset/remove_Land.action",{"land.lid":lid}, function(result) {
		if(result.msg=="succ"){
			$('#myModal').modal('hide');
			$("#alertinfo").html("土地信息删除成功。");
			$("#closewin").bind("click",function(){
				$("#closewin").unbind("click");
				$('#myinfo').modal('hide');
				window.location.reload();
			});
			$('#myinfo').modal('show');
		}else{
			$('#myModal').modal('hide');
			$("#alertinfo").html(result.msg);
			$('#myinfo').modal('show');
		}
	});
}
function conditionExport(){
	var tdzh=$("#tdzh").val();
	var lname=$("#lname").val();
	var mdept=$("#mdept").val();
	window.location.assign("../asset/exportExcel_Land.action?land.tdzh="+tdzh+"&land.lname="+lname+"&land.mdept="+mdept);
}
function allExport(){
	window.location.assign("../asset/exportExcel_Land.action");
}
function conditionPrint(){
	var tdzh=$("#tdzh").val();
	var lname=$("#lname").val();
	var mdept=$("#mdept").val();
	$("#print_land").attr("src","../asset/print_Land.action?land.tdzh="+tdzh+"&land.lname="+lname+"&land.mdept="+mdept);
}
function allPrint(){
	$("#print_land").attr("src","../asset/print_Land.action");
}